package yunquan.wang.modules.customer.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import yunquan.wang.base.dao.springdata.BaseRepository;
import yunquan.wang.base.service.impl.BaseServiceImpl;
import yunquan.wang.modules.customer.dao.CompanyDao;
import yunquan.wang.modules.customer.entity.Company;
import yunquan.wang.modules.customer.service.CompanyService;

@Service("companyService")
@Transactional(value = "jpaTransaction")
public class CompanyServiceImpl  extends BaseServiceImpl<Company>
implements CompanyService{
	@Resource
private	CompanyDao companyDao;
	public BaseRepository<Company, String> getDao() {
		return companyDao;
	}

}
